Hypermode Knowledge Graph + AI Challenge
Build a model-native app using knowledge graphs and the open source Modus API framework
AI 'Street Photography' Isn't Photography: What We Lose by Simulating Experience
When we pretend AI generation is street photography, we're not just misusing terms—we're surrendering authentic engagement with reality.
Do Not Be Misled by ‘Build an App in 5 Minutes’: In-Depth Practice with Cursor
In August this year, I tried out Cursor and was thoroughly impressed, prompting me to write an introductory article about it. Soon after, I transitioned my daily work environment entirely from GitHub Copilot + JetBrains to the paid version of Cursor. After several months of use, it has felt incredibly smooth.While using it myself, I’ve often recommended Cursor to colleagues and friends. However, many of them still have questions, such as:What advantages does it have over native ChatGPT or ...
RECENT ARTICLES
Gemini Example with Go
sonic0002 183 0
To connect and use Gemini with Go, Google's LLM, one can use their official Go SDK for doing this. In this post, we will just show a simple chat example to demonstrate how to make it work with Go.The example is just to ask the model to translate some English to Chinese and get its output. The code actually looks like:var client *genai.Client// geminiOnce.Do(func() {client, err = genai.NewClient(ctx, option.WithAPIKey(string(apiKey)))if err != nil { log.Fatal(err)}model := client.GenerativeModel(...
Announcing New Feed Service
sonic0002 742 0
We’re thrilled to announce that Feed is now live! Feed brings you the hottest tech stories daily, covering trending topics like AI, LLMs, Rust, Python, and more.What is Feed?Feed is your personalized tech news curator. It uses AI to gather and filter the most relevant stories from around the world, ensuring you stay informed without being overwhelmed. Whether it’s a breakthrough in AI or a new feature in Rust, Feed delivers just the right amount of information.How Does It Work?Feed l...
13 Hours of Crisis: Tracking a GitHub Poisoning Incident
tr_cn 670 0
Incident OverviewSince 6 PM Beijing Time on December 4, 2024, “ghost repositories” have been appearing on GitHub. These repositories contain no code but include deceptive virus files. That same day, they became the fastest-growing repositories on GitHub in terms of stars. Over 180 fake zombie accounts were spreading the virus, waiting for victims to fall into their trap.A Chinese developer—myself—took notice of all this. After days of probing and searching, I identified t...
How To Reset Git Repository to Remove Sensitive Information Committed Before
sonic0002 901 0
To reset a Git repository and remove all its history (such as to eliminate sensitive information from commits), follow these steps carefully. Be aware that this process is destructive and will rewrite the repository, so ensure this is what you want.1. Backup the Current RepositoryBefore making any irreversible changes, create a backup of your repository in case you need to reference the old data later.2. Create a New Branch Without History# Move to your repositorycd /path/to/your/repo# Checkout ...
The Missing Session Cookie While Using GoLang Gin
sonic0002 995 0
Gin is a widely used web framework in Go, offering powerful features to streamline website development. Among its many capabilities, handling sessions and cookies is a critical aspect for building functional web applications.This post highlights a behavior in the Gin framework that may not be immediately obvious or intuitive—the missing session cookie issue.So, what exactly is the missing session cookie issue? It occurs when a session is created and saved in one route but isn’t acces...
RECENT TOPICS
Will AI Replace Programmers?
With the popularity of AI, people are talking about what kind of jobs would be replaced by AI again and many think that programmers are those who would be replaced. Given that IDEs like Cursor can help generates code by just giving a description on what to do, it seems it's the case. But is it really the case? Will programmers be replaced by AI? Are you worried?
FUN
The Magic of X's Show 35 Posts |
By sonic0002 at 2024-12-20 19:09:33 |
Has anyone noticed that on Twitter’s “For You” tab, every time there are new posts, it always shows “Show 35 Posts”? Where does this number 35 come from? |